import request from '@/utils/axios'

export function add(data) {
  return request({
    url: '/client/adoption',
    method: 'post',
    data
  })
}

export function getPageData(data) {
  return request({
    url: `/admin/adoption/page`,
    method: 'post',
    data
  })
}

export function audit(id,sta) {
  return request({
    url: `/admin/adoption/${id}/${sta}`,
    method: 'put',
  })
}